package com.merryituxz.o2o.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 从库slave的配置
 */
@Component
public class DatabaseSlaveProperties {
    @Value("${spring.datasource.username}")
    public String username;
    @Value("${spring.datasource.password}")
    public String password;
    @Value("${spring.datasource.slave.url}")
    public String url;
    @Value("${spring.datasource.driver-class-name}")
    public String driver;
}
